package com.hitqz.robot.api.business.enums;

import java.util.HashMap;

/**
 * 机器人模型
 * @author xupkun
 * @date 2024/7/26
 */
public enum RobotModelEnum {


    PATROL("patrol", WorkStatusEnum.PATROL),

    AGV("agv", WorkStatusEnum.WORK_TRANSPORT),

    OPERATION("operation", WorkStatusEnum.WORK),
    CUSTOM("custom", WorkStatusEnum.WORK),




    ;

    public final static HashMap<String, RobotModelEnum> CMD_ROBOT_MODEL = new HashMap<>();


    static {
        for (RobotModelEnum value : values()) {
            RobotModelEnum.CMD_ROBOT_MODEL.put(value.getFlag(), value);
        }
    }

    private final String flag;

    private final WorkStatusEnum statusEnum;


    RobotModelEnum(String flag, WorkStatusEnum statusEnum){
        this.flag = flag;
        this.statusEnum = statusEnum;
    }

    public String getFlag() {
        return flag;
    }
}
